package ve.com.ucv.changedetection.objects;

/**
 * Created with IntelliJ IDEA.
 * User: josmaguirre
 * Date: 4/12/12
 * Time: 18:13
 * To change this template use File | Settings | File Templates.
 */
public class Constants {
    public static final String ERROR_VALUE = "E";
    public static final String CONTETNT_TYPE_ARCHIVED = "ARCHIVED";
    public static final String CONTETNT_TYPE_WEB = "WEB";
    public static final String NOVELL_APPROACH = "NOVELL";
    public static final String HASHING_BASED = "HASHING";
    //public static final String SAMPLING_PATH = "/home/josmaguirre/trazas_muestras";
    /* INFORMACION DE LAS BASES DE DATOS */
    //public static final String MYSQL_DRIVER = "com.mysql.jdbc.Driver";
    //public static final String MONGODB_NAME = "CHANGE_DETECTION_BD";
    //public static final String MONGODB_HOST = "192.168.1.113";
    //public static final int MONGO_DB_PORT = 27017;
    public static final String MYSQL_DB_NAME = "suscripcion";
    //public static final String MYSQL_DB_HOST = "localhost";
    //public static final int MYSQL_DB_PORT = 3306;
    //public static final String MYSQL_USER = "root";
    //public static final String MYSQL_PASSWORD = "root";
    /* ARCHIVOS DE PROPIEDADES */
    public static final String PROPERTIES_NAME = "weights.properties";
    /* CONSULTAS */
    //public static final String MYSQL_PAGE_LIST_QUERY = "CALL " + MYSQL_DB_NAME + ".PROC_WARC_EXTRACTION(?,?,?)";
    // public static final String PROPERTIES_PATH="C:\\Proyectos\\IDEA\\DeteccionCambiosUpdate\\";
    public static final String GET_COMPARATIONS = "CALL " + MYSQL_DB_NAME + ".SP_OBTENER_COMPARACIONES()";
    public static final String GET_CRAWLS_WITHOUT_COMPARATIONS = "CALL " + MYSQL_DB_NAME + ".SP_OBTENER_RASTREOS_SIN_COMPARACIONES()";
    public static final String ADD_COMPARATION = "CALL " + MYSQL_DB_NAME + ".SP_AGREGAR_COMPARACION(?,?,?,?,?,?,?,?)";
    public static final String MODIFY_COMPARATION = "CALL " + MYSQL_DB_NAME + ".SP_MODIFICAR_COMPARACION(?,?,?,?,?,?,?,?)";
    public static final String DELETE_COMPARATION = "CALL " + MYSQL_DB_NAME + ".SP_ELIMINAR_COMPARACION(?,?,?)";
}
